<?php
	$currentItem = "Index-modifyAdmin";
?>
<include file="./Tpl/default/Admin/Public/header.html" />
<?php foreach($admins as $admin): ?>
	<div>
		<form action='__APP__/Admin/Index/modifyAdmin' method='POST'>
			账户:{$admin['login_name']}
			用户名:<input type="text" name="real_name" value="{$admin['real_name']}" />
			重置密码(不修改请留空):<input type="password" name="password" value="" />
			<input type="hidden" name="admin_id" value="{$admin['admin_id']}" />
			<a href='__APP__/Admin/Index/delAdmin?admin_id={$admin['admin_id']}'>删除此账户</a>
			<input type="submit" value="确认修改" />
		</form>
	</div>
<?php endforeach;?>

{$message}
<include file="./Tpl/default/Admin/Public/footer.html" />
